package string.related;

public class stringReplace {

	public static void main(String[] args) {
		testReplace();

	}

	private static void testReplace() {
		replaceString("afdaslkjla#jdfas", "#", "@");

	}

	public static void replaceString(String str, String tagStr, String newStr) {
		System.out.println(str.replace(tagStr, newStr));
	}

}
